<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'editgoal.jsp' starting page</title>
    
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">

  </head>
  
  <body class="body">
    <%@ include file="include/top.jsp" %>
    <div class="container" >
	  <div class="row">
		<div class="span3">
			<%@ include file="include/left.jsp" %>
		</div>
		<div class="span9">
		  	<form class="form-horizontal" action="editgoal.jspx" method="post">
				<fieldset>
				  <legend>修改该目标</legend>
				  <div class="control-group">
					<label class="control-label" >目标名称</label>
					<div class="controls">
					  <input type="hidden" name="id" value="${requestScope.goal.id }"/>
					  <input type="text" class="span5" name="name" value="${requestScope.goal.name }" >
					</div>
				  </div>
				  <div class="control-group">
					<label class="control-label" >目标描述</label>
					<div class="controls">
					  <textarea class="span5" rows="8"  name="desc" >${requestScope.goal.desc }</textarea>
					</div>
				  </div>
			  
				  <div class="form-actions">
					<button type="submit" class="btn btn-primary">保存</button>
					<button class="btn" onclick="location.back()">返回</button>
				  </div>
				</fieldset>
			</form>       
		</div>
	  </div>
	</div>
	<script type="text/javascrpt"></script>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/active.js"></script>
	
  </body>
</html>
